package com.dks.models;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class Teacher implements Serializable {

    private static final long serialVersionUID = 1L;

    public Teacher() {
    }

    /**
     * 主键
     */
    private Long id;
    /**
     * 用户表id
     */
    private Long userId;
    /**
     * 课程id
     */
    private Long courseId;
    /**
     * 简介
     */
    private String briefIntroduction;
    /**
     * 成为教师时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime teacherBeginTime;
    /**
     * 详情描述
     */
    private String detailBriefIntroduction;
    /**
     * 毕业院校
     */
    private String university;
    /**
     * 资质证书
     */
    private String certificate;
    /**
     * 星级：范围1-5
     */
    private Integer grade;
    /**
     * 家长对老师评价的平均分
     */
    private Integer appraice;
    /**
     * 积分
     */
    private Integer score;
    /**
     * 创建人
     */
    private Long createUserId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /**
     * 修改人
     */
    private Long modifyUserId;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /**
     * 有效状态 0可用 1不可用
     */
    private Integer recStatus;

    private String teacherName;

    private String loginName;

    private String profilePhotoUrl;

    private Integer attentionCount;

}
